package com.p2p.cms.interceptors;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.p2p.base.interceptors.BaseLoginInterceptor;
import com.p2p.base.util.LoginUtil;

public class CmsInterceptors extends BaseLoginInterceptor{

	@Override
	public boolean preHandle(HttpServletRequest request,
			HttpServletResponse response, Object handler) throws Exception {


		LoginUtil.setCurrentUser(null);
		initCurrentUser(request, response);
		
		return true;
	}
}
